package org.wu.acw.server.domain.model.acw.single.table.operation.log;

import org.wu.framework.web.response.Result;

import java.util.List;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
/**
 * describe 单表操作日志 
 *
 * @author Jia wei Wu
 * @date 2024/04/29 09:55 上午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyDomainRepository 
 **/

public interface AcwSingleTableOperationLogRepository {


    /**
     * describe 新增单表操作日志
     *
     * @param acwSingleTableOperationLog 新增单表操作日志     
     * @return {@link  Result<AcwSingleTableOperationLog>} 单表操作日志新增后领域对象     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<AcwSingleTableOperationLog> story(AcwSingleTableOperationLog acwSingleTableOperationLog);

    /**
     * describe 批量新增单表操作日志
     *
     * @param acwSingleTableOperationLogList 批量新增单表操作日志     
     * @return {@link Result<List<AcwSingleTableOperationLog>>} 单表操作日志新增后领域对象集合     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<List<AcwSingleTableOperationLog>> batchStory(List<AcwSingleTableOperationLog> acwSingleTableOperationLogList);

    /**
     * describe 查询单个单表操作日志
     *
     * @param acwSingleTableOperationLog 查询单个单表操作日志     
     * @return {@link Result<AcwSingleTableOperationLog>} 单表操作日志DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<AcwSingleTableOperationLog> findOne(AcwSingleTableOperationLog acwSingleTableOperationLog);

    /**
     * describe 查询多个单表操作日志
     *
     * @param acwSingleTableOperationLog 查询多个单表操作日志     
     * @return {@link Result<List<AcwSingleTableOperationLog>>} 单表操作日志DTO对象     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<List<AcwSingleTableOperationLog>> findList(AcwSingleTableOperationLog acwSingleTableOperationLog);

    /**
     * describe 分页查询多个单表操作日志
     *
     * @param size 当前页数
     * @param current 当前页
     * @param acwSingleTableOperationLog 分页查询多个单表操作日志     
     * @return {@link Result<LazyPage<AcwSingleTableOperationLog>>} 分页单表操作日志领域对象     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<LazyPage<AcwSingleTableOperationLog>> findPage(int size,int current,AcwSingleTableOperationLog acwSingleTableOperationLog);

    /**
     * describe 删除单表操作日志
     *
     * @param acwSingleTableOperationLog 删除单表操作日志     
     * @return {@link Result<AcwSingleTableOperationLog>} 单表操作日志     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<AcwSingleTableOperationLog> remove(AcwSingleTableOperationLog acwSingleTableOperationLog);

    /**
     * describe 是否存在单表操作日志
     *
     * @param acwSingleTableOperationLog 是否存在单表操作日志     
     * @return {@link Result<Boolean>} 单表操作日志是否存在     
     
     * @author Jia wei Wu
     * @date 2024/04/29 09:55 上午
     **/

    Result<Boolean> exists(AcwSingleTableOperationLog acwSingleTableOperationLog);

}